www.gusucode.com > 基于matlab的GUI界面的语音信号端点标定源码程序 > 基于VBLAST-OFDM的MATLAB SIMULATION,图形化界面,并且给出了各仿真图/vblast-ofdm simulation/get_bits_per_symbol.m

    function num_bits = get_bits_per_symbol(mod_order)

if ~isempty(strmatch(mod_order, 'BPSK ','exact'))
	num_bits=1;
elseif ~isempty(strmatch(mod_order, 'QPSK ','exact'))
   num_bits=2;
else
   error('Undefined modulation');
end